package com.ruoyi.ssh.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 课程管理对象 course
 * 
 * @author ruoyi
 * @date 2025-08-13
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Course extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 课程ID */
    private Integer id;

    /** 所属科目ID */
    private Integer subjectId;

    /** 课程名称 */
    @Excel(name = "课程名称")
    private String name;

    /** 图片 */
    @Excel(name = "图片")
    private String url;
    /** 课程描述 */
    @Excel(name = "课程描述")
    private String description;

    /** 排序 */
    private Integer sortOrder;

    /** 删除状态：0正常，1删除 */
    @Excel(name = "删除状态：0正常，1删除")
    private Integer del;

    /**科目外键*/
    private Subject subject;

}
